home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / RunWait.au3 < prev    next >
Encoding:
Text File  |  2006-06-17  |  149 b   |  4 lines

  1. $val = RunWait("Notepad.exe", "C:\WINDOWS", @SW_MAXIMIZE)
  2. ; script waits until Notepad closes
  3. MsgBox(0, "Program returned with exit code:", $val)
  4.